package com.tulei.common.utils.websocket;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;



/**
 * @Author TuLei
 * @Date 2024-06-9 21:44
 **/

@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Message {

    /**
     * 消息内容
     */
    private String content;


    /**
     * 消息数量
     */
    private Integer msgNumber;

    /**
     * 消息发送方ID
     */
    private Long senderId;

    /**
     * 消息接收方ID
     */
    private Long receiverId;

    /**
     * 接收方昵称
     */
    private String receiverName;

    /**
     * 接收方头像
     */
    private String receiverAvatar;
}
